package com.wkbb.sports.service;

import com.wkbb.sports.dto.StudentOnlineRoomDto;
import com.wkbb.sports.model.*;

import java.util.List;
import java.util.Map;

public interface StudentOnlineService{


    int insertOnlineHall(StudentOnlineHall onlineHall);
    int updateOnlineHall(StudentOnlineHall onlineHall);

    int insertOnlineRoom(StudentOnlineRoom onlineRoom);
    int updateOnlineRoom(StudentOnlineRoom onlineRoom);

    StudentOnlineHall findHall(Long studentId);
    Integer getStudentAvgCount(Map<String, Object> params);
    List<StudentOnlineHall> getHallList(StudentOnlineHall onlineHall);

    int insertOnlineRoomRecord(StudentOnlineRoomRecord onlineRoomRecord);
    int insertOnlineRoomStuBatch(List<StudentOnlineRoomStu> stuList);

    List<StudentOnlineRoomDto> getHallRoomList();

    void offlineHall();

    int insertPracticeBatch(List<HlifeStudentPractice> list);
}
